import React, { Component ,Fragment} from 'react'
import './siber.less'
import { getList } from '../../servers';



export default  class Siber extends Component {
  
   

  render() {
    
   return (
      <Fragment>
      <div className="b-cart">
        <ul className="b-cart-ul">
        {
            this.props.lib.map((item)=>{

                return <li 
                onClick={this.props.handlClick.bind(this,item.id)}
                className="b-cart-siber" 
                key={item.id}>{item.title}
                </li>
            })
        }
        </ul>
        
           
      </div>
      
      
         
      </Fragment>
    )
  }
}
 